package cn.edu.zut.soft.student.controller.route;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author ChrisPhantom
 * @CreatDate 2021/02/18 12:39
 */

@Controller
@RequestMapping("/admin")
public class AdminRouteController {
    @RequestMapping("")
    public String index() {
        return "pages/admin/index";
    }

    @RequestMapping("/notice")
    public String notice() {
        return "pages/admin/notice";
    }

    @RequestMapping("/course/list")
    public String course() {
        return "pages/admin/course/list";
    }

    @RequestMapping("/course/selectcourse")
    public String selectcourse() {
        return "pages/admin/course/selectcourse";
    }

    @RequestMapping("/student/list")
    public String student() {
        return "pages/admin/student/list";
    }

    @RequestMapping("/student/selectcourse")
    public String selectcourse1() {
        return "pages/admin/student/selectcourse";
    }

    @RequestMapping("/teacher/list")
    public String teacher() {
        return "pages/admin/teacher/list";
    }

    @RequestMapping("/class/list")
    public String classList() {
        return "pages/admin/class/list";
    }

    @RequestMapping("/help/course")
    public String helpCourse() {
        return "pages/admin/help/course";
    }

    @RequestMapping("/help/student")
    public String helpStudent() {
        return "pages/admin/help/student";
    }

    @RequestMapping("/help/teacher")
    public String helpTeacher() {
        return "pages/admin/help/teacher";
    }

}
